package com.ruyuan.o2o.groupbuy.common;

import org.dozer.DozerBeanMapper;

/**
 * 对象拷贝工具类
 *
 * @author ming qian
 */
public class BeanMapper {
    private static final DozerBeanMapper DOZER = new DozerBeanMapper();

    public static void copy(Object source, Object destinationObject) {
        if(source != null) {
            DOZER.map(source, destinationObject);
        }
    }
}
